use std::ffi::c_void;

use jni::{sys::{jint, JNI_VERSION_1_6}, JavaVM};
use utils::java_init;



mod error;
mod utils;
mod conn;

pub mod jni_serial_conn;

#[no_mangle]
pub extern "system" fn JNI_OnLoad(
    vm: JavaVM,
    _v: *mut c_void
) -> jint {

    java_init(vm);

    JNI_VERSION_1_6
}


